package com.suyx.job.service;

import com.suyx.job.entity.GoodsInfo;
import com.suyx.job.entity.Page;
import com.suyx.job.service.base.IMyService;

/**
 * @Auther: lanyanhua
 * @Date: 2018/10/18 0018 11:41
 * @Description:
 */
public interface IGoodsInfoService extends IMyService<GoodsInfo,Integer> {
	Page findGoodsPage(GoodsInfo goodsInfo,Integer page,Integer limit);
	
	GoodsInfo findByRoleIdAndGoodsCode(Integer roleId,Integer goodsCode);
	
	GoodsInfo findByRoleIdAndGoodsName(Integer roleId,String goodsName);
}
